//
//  HistoryTripsViewController.h
//  yadea
//
//  Created by songjun on 16/5/8.
//  Copyright © 2016年 Sita. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MAMapKit/MAMapKit.h>
#import "LinBoardMacro.h"
#import "PallaTrip.h"
@interface HistoryTripsViewController : UIViewController<MAMapViewDelegate>
{
    MAPolyline *route;
}
@property (nonatomic, strong) MAMapView *tripMapView;

@property(nonatomic) CLLocationCoordinate2D startCoor;
@property(nonatomic) CLLocationCoordinate2D endCoor;

@property (strong, nonatomic) IBOutlet UILabel *mileLabel;
@property (strong, nonatomic) IBOutlet UILabel *averageSpeedLabel;
@property (strong, nonatomic) IBOutlet UILabel *voltageLabel;
@property(nonatomic,strong)NSString *mileString;
@property(nonatomic,strong)NSString *spedString;
@property(nonatomic,strong)NSString *votageString;

@property(nonatomic,strong)NSMutableArray *pointSArr;
@property(nonatomic,strong)PallaTrip *tripDb;
@end
